(:: pragma bea:global-element-parameter parameter="$offerCheck1" element="ns1:offerCheck" location="../WSDLs/offerCheck.wsdl" ::)
(:: pragma bea:global-element-return element="ns0:CheckingSKU" location="../WSDLs/mockSL_checkingSKUexist.wsdl" ::)

declare namespace ns1 = "http://www.example.org/offerCheck/";
declare namespace ns0 = "http://www.example.org/mockSL_checkingSKUexist/";
declare namespace xf = "http://tempuri.org/ActivateNewCustomer/Transformation/tets/";

declare function xf:tets($offerCheck1 as element(ns1:offerCheck))
    as element(ns0:CheckingSKU) {
        <ns0:CheckingSKU>
            <partner_id>{ data($offerCheck1/mvnoID) }</partner_id>
            <SKU>{ data($offerCheck1/SKU) }</SKU>
        </ns0:CheckingSKU>
};

declare variable $offerCheck1 as element(ns1:offerCheck) external;

xf:tets($offerCheck1)